<template>
  <el-dialog
    title=""
    :visible.sync="dialogVisible"
    top="0"
    width="1920px">
    <template></template>
    <slot />
  </el-dialog>
</template>

<script>
export default {
  name: "CommonModal",
  data() {
    return {
      dialogVisible: false,
      title: ''
    }
  },
  methods: {
    show(title) {
      this.title = title
      this.dialogVisible = true
    },
    hide() {
      this.title = ''
      this.dialogVisible = false
    }
  }
}
</script>

<style>

</style>